home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 95
/
MOBICLIC 95.ISO
/
mac
/
MWB_DATA
/
TCH095
/
TCH095_00
/
TCH095_00.swf
/
scripts
/
frame_2
/
DoAction.as
Wrap
Text File
|
2007-06-28
|
6KB
|
140 lines
function initTextLists()
{
gListTE = [];
gListTETexte = [];
gListTEPolice = [];
gListTECorps = [];
gListTEJustify = [];
gListTEStyle = [];
gListTECouleurT = [];
gListTECouleurF = [];
gListTEOpaciteF = [];
gListIB = [];
gListIBTexte = [];
gListIBPolice = [];
gListIBCorps = [];
gListIBJustify = [];
gListIBStyle = [];
gListIBCouleurT = [];
gListIBCouleurF = [];
gListIBOpaciteF = [];
gListIBPosition = [];
gListLM = [];
gListLMTexte = [];
gListLMPolice = [];
gListLMCorps = [];
gListLMJustify = [];
gListLMStyle = [];
gListLMCouleurT = [];
gListLMCouleurF = [];
gListLMOpaciteF = [];
gListLMCouleurSVRadio = [];
gListLMCouleurFsv = [];
gListLMAction = [];
gListLMLien = [];
gListDI = [];
gListDITexte = [];
gListDIDef = [];
gListST = [];
gListSTTexte = [];
gListST2Texte = [];
gListSTPolice = [];
gListSTCorps = [];
gListSTJustify = [];
gListSTStyle = [];
gListSTCouleurT = [];
gListSTCouleurF = [];
gListSTOpaciteF = [];
gListTG = [];
gListTGTexte = [];
gListRE = [];
gListRETexte = [];
gListCR = [];
gListCRPoste = [];
gListCRPostePolice = [];
gListCRPosteCorps = [];
gListCRPosteStyle = [];
gListCRPosteCouleurT = [];
gListCRNom = [];
gListCRNomPolice = [];
gListCRNomCorps = [];
gListCRNomStyle = [];
gListCRNomCouleurT = [];
}
function applyTextLists()
{
i = 0;
while(gObjXml.childNodes[0].childNodes[0].childNodes[i] != undefined)
{
if(gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.nTitre != undefined)
{
gListTE[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.nTitre;
gListTETexte[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.Titre;
gListTEPolice[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.Police;
gListTECorps[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.Corps;
gListTEJustify[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.Justify;
gListTEStyle[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.myStyle;
gListTECouleurT[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.CouleurT;
gListTECouleurF[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.CouleurF;
gListTEOpaciteF[i] = gObjXml.childNodes[0].childNodes[0].childNodes[i].attributes.OpaciteF;
}
i++;
}
i = 0;
while(gObjXml.childNodes[0].childNodes[1].childNodes[i] != undefined)
{
if(gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.nIB != undefined)
{
gListIB[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.nIB;
gListIBTexte[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.IB;
gListIBPolice[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.Police;
gListIBCorps[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.Corps;
gListIBJustify[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.Justify;
gListIBStyle[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.myStyle;
gListIBCouleurT[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.CouleurT;
gListIBCouleurF[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.CouleurF;
gListIBOpaciteF[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.OpaciteF;
gListIBPosition[i] = gObjXml.childNodes[0].childNodes[1].childNodes[i].attributes.Position;
}
i++;
}
i = 0;
while(gObjXml.childNodes[0].childNodes[2].childNodes[i] != undefined)
{
if(gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.nLM != undefined)
{
gListLM[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.nLM;
gListLMTexte[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.LM;
gListLMPolice[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.Police;
gListLMCorps[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.Corps;
gListLMJustify[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.Justify;
gListLMStyle[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.myStyle;
gListLMCouleurT[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.CouleurT;
gListLMCouleurF[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.CouleurF;
gListLMOpaciteF[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.OpaciteF;
gListLMCouleurSVRadio[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.SV;
gListLMCouleurFsv[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.CouleurFsv;
gListLMAction[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.Action;
gListLMLien[i] = gObjXml.childNodes[0].childNodes[2].childNodes[i].attributes.Lien;
}
i++;
}
i = 0;
while(gObjXml.childNodes[0].childNodes[4].childNodes[i] != undefined)
{
if(gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.nST != undefined)
{
gListST[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.nST;
gListSTTexte[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.ST;
gListSTPolice[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.Police;
gListSTCorps[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.Corps;
gListSTJustify[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.Justify;
gListSTStyle[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.myStyle;
gListSTCouleurT[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.CouleurT;
gListSTCouleurF[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.CouleurF;
gListSTOpaciteF[i] = gObjXml.childNodes[0].childNodes[4].childNodes[i].attributes.OpaciteF;
}
i++;
}
}